package com.koron.bean.workflow;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author jzp
 * @since 2021/4/6 9:10
 */
@Data
@ApiModel(value = "工作流提交参数", description = "SubmitQuery")
@ToString
public class SubmitQuery {
    @ApiModelProperty(value = "业务ID")
    private String dataId;
    @ApiModelProperty(value = "处理意见,只有取消沟通可以没有。")
    private String comment;
    @ApiModelProperty(value = "操作类型：1驳回、2转办、4添加沟通人、8催办、16废弃、32通过、64 添加沟通/评论信息、128取消沟通，256撤回", example = "32")
    private Integer operation = 32;
    @ApiModelProperty(value = "operation为1时  选择驳回到哪个节点的节点的名称")
    private String rejectNodeCode;
    @ApiModelProperty(value = "移动端没用rejectNodeCode，所以使用rejectNodeId")
    private String rejectNodeId;
    @ApiModelProperty(value = "驳回之后是否提交到当前节点 1 是  (0 或者 null) 否")
    private Integer rejectType;
    @ApiModelProperty(value = "操作对应的人员信息.operation为2和4 时该参数必须有，转办人和沟通人.")
    private String relatedUser;
    @ApiModelProperty(value = "表单变量对象(JSON格式字符串)")
    private String formVariables;
    @ApiModelProperty(value = "当配置有可修改必须修改节点时，指定节点处理人.")
    private String otherNodeCandidates;
    @ApiModelProperty(value = "附件标识")
    private String attachment;
    @ApiModelProperty(value = "下一个节点")
    private String artificialDecisionCondition;

    private String processCode;
    private String setCode;

    @ApiModelProperty(value = "业务编码")
    private String dataCode;

    @ApiModelProperty(value = "业务标题")
    private String dataTitle;

    @ApiModelProperty(value = "taskId")
    private String taskId;

}
